<?php

class CaptchaForm extends CFormModel{
    public $verifyCode;
    
    public function rules()
{
return array(
array('verifyCode', 'captcha', 'allowEmpty'=> !extension_loaded('gd')),
);
}
}

?>
